import {MapType} from "@/interfaces/gps";
import Tile from 'ol/layer/Tile'

export function createLayers(mapType: MapType) {
    return mapType.value.map((ele, index) => {
        return new Tile({
            source: ele,
        })
    })
}
